/**
 * Created by Administrator on 2016/9/25 0025.
 */
var log4js = require('log4js');
var fs = require("fs");


log4js.loadAppender('file');
log4js.addAppender(log4js.appenders.file('./logs/spider.log'), 'spider');
var logger = log4js.getLogger('spider');
logger.setLevel('info');

module.exports = logger;